export interface IBaseControlProps {
  //target
  target: any
  //是否激活
  active?: boolean
  //是否保持比例
  keepRatio?: boolean
  //是否支持旋转
  rotatable?: boolean
  //是否支持调整尺寸
  resizable?: boolean
  //是否支持拖拉
  draggable?: boolean
  //是否支持缩放
  scalable?: boolean
  //缩放时高度自适应
  resizeHeightFix?: boolean
  //扩展编辑
  editable?: boolean
  //初始化样式
  initStyle?: Record<string, any>
  //父容器
  rootContainer?: any
  //吸附点
  //eg:[{ element: '.element1', className: 'red' }]
  elementGuidelines?: any[]
  //水平方向的辅助线
  horizontalGuidelines?: any[]
  //垂直方向的辅助线
  verticalGuidelines?: any[]
  //自定义编辑
  onEditSize?: (...args: any[]) => any
  //自定义缩放
  onScale?: (...args: any[]) => any
  //自定义拖动
  onDrag?: (...args: any[]) => any
  //自定义缩放
  onResize?: (...args: any[]) => any
  //自定义旋转
  onRotate?: (...args: any[]) => any
}
